projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca693be
)
(dired-smart-shell-command): Use
author
Gerd Moellmann
<gerd@gnu.org>
Mon, 1 Nov 1999 15:41:33 +0000
(15:41 +0000)
committer
Gerd Moellmann
<gerd@gnu.org>
Mon, 1 Nov 1999 15:41:33 +0000
(15:41 +0000)
shell-command-history as in shell-command.
lisp/dired-x.el
patch
|
blob
|
history
diff --git
a/lisp/dired-x.el
b/lisp/dired-x.el
index 91d36034ee57d653a9430acffa0ea8e80967b306..808dc3b5dc87ae285fdd43fd7ee5ddd8161181c4 100644
(file)
--- a/
lisp/dired-x.el
+++ b/
lisp/dired-x.el
@@
-823,7
+823,9
@@
cases in variable `default-directory-alist' (which see)."
(defun dired-smart-shell-command (cmd &optional insert)
"Like function `shell-command', but in the current Tree Dired directory."
- (interactive "sShell command: \nP")
+ (interactive (list (read-from-minibuffer "Shell command: "
+ nil nil nil 'shell-command-history)
+ current-prefix-arg))
(let ((default-directory (default-directory)))
(shell-command cmd insert)))